package org.example.commons.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;
import java.io.Serializable;

/**
 * 健康状态表(SysHealthStatus)实体类
 *
 * @author bothin
 * @since 2020-05-23 18:02:26
 */
@Entity
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SysHealthStatus implements Serializable {
    private static final long serialVersionUID = -90567921224841539L;
    /**
    * 健康状态记录id
    */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long statusId;
    /**
    * 用户id
    */
    private Long userId;
    /**
    * 状态（0健康，1异常，2确诊）
    */
    private Integer healthStatus;
    /**
    * 体温
    */
    private Float temperature;
    /**
    * 出入次数
    */
    private Integer accessTimes;
    /**
    * 备注
    */
    private String remarks;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 修改时间
    */
    private Date updateTime;




}